﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using IntoNails.Models;

namespace IntoNails.Infrastructure
{
    public static class GlobalInfoCaches
    {
        public const string AssemblyName = "IntoNails 2012";

        public static string StartUpPath
        {
            get
            {
                string dataFileDirectoryPath = Environment.CurrentDirectory + "\\Data";
                if (!Directory.Exists(dataFileDirectoryPath))
                {
                    Directory.CreateDirectory(dataFileDirectoryPath);
                }

                return dataFileDirectoryPath;
            }
        }

        public static CultureInfo SelectedCultureInfo { get; private set; }

        public static User AuthorizedUser { get; set; }
    }
}
